#include <stdio.h>

#define ONE 1    // 0000 0001
#define TWO 2    // 0000 0010
#define THREE 4  // 0000 0100
#define FOUR 8   // 0000 1000

void Func(int flag)
{
    if(flag & ONE) printf("One!\n");
    if(flag & TWO) printf("Two!\n");
    if(flag & THREE) printf("Three!\n");
    if(flag & FOUR) printf("Four!\n");
}

int main()
{
    Func(ONE);
    printf("\n");
    Func(ONE | TWO);
    printf("\n");
    Func(ONE | TWO | THREE);
    printf("\n");
    Func(ONE | TWO | THREE | FOUR);
    printf("\n");
    return 0;
}

